package com.lyl.syt.client;

import com.lyl.syt.vo.hosp.ScheduleOrderVo;
import com.lyl.syt.vo.order.SignInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "hosp-service",path = "/api/hosp")
public interface HospFeignClient {

    //根据排班id获取预约下单数据
    @GetMapping("/inner/getScheduleOrderVo/{scheduleId}")
    public ScheduleOrderVo getScheduleOrderVo(@PathVariable("scheduleId") String scheduleId);

    //根据医院获取签名信息
    @GetMapping("/inner/getSignInfoVo/{hoscode}")
    public SignInfoVo getSignInfoVo(@PathVariable("hoscode") String hoscode);
}
